/**
 * [wxErrorTips 微信错误提示]
 * @return Promise
 */
export const wxErrorTips = (msg, showCancel, fn) => {
    wx.showModal({
        title: "温馨提示",
        content: msg,
        showCancel: showCancel,
        success: function (res) {
            if (res.confirm) {
                fn && fn()
            }
        }
    })
}